package dome06;

import java.util.Scanner;

public class Student {
     static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
         System.out.println("第一个整数");
         int sum = scanner.nextInt();

         System.out.println("第二个整数");
         int sum1 = scanner.nextInt();

         int sum2 = sum + sum1;
         int ca = sum - sum1;

         System.out.println("两个数的和" + sum2);
         System.out.println("两个数的差" + ca);

    }
}
